package xyz.weizhi;

import org.mybatis.spring.support.SqlSessionDaoSupport;
import xyz.weizhi.mapper.UserMapper;
import xyz.weizhi.pojo.User;

import java.util.List;

/**
 * @Author milian
 * @Date 2021/9/6 0006 10:18
 */
public class UserMapperImp2 extends SqlSessionDaoSupport implements UserMapper {
    @Override
    public List<User> selectAll() {
        return getSqlSession().getMapper(UserMapper.class).selectAll();
    }
}
